home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
modusr11.zip
/
MODUSER.TXT
< prev
next >
Wrap
Text File
|
1992-06-24
|
5KB
|
108 lines
MODIFY USERINFO.DAT
version 1.0 (April 23, 1992)
Purpose:
This program was developed to allow Wildcat! 3.x Sysops to modify a
callers security level and time left while he is on-line automatically.
This will modify a callers USERINFO.DAT while he is in a door or DOS Hook
so that when he returns to Wildcat!, he will have the new security level,
or a different time left.
This was written because I have started taking credit cards as
payment for subscriptions. The best program that I could find
to do this was AutoScribe (AS25.ZIP at the time of this writing).
Unfortunately, it only knows how to upgrade PCBoard software. It
does, however, create a PURCHASE.1 ever time someone subscribes.
I check for the existence of this file at the end of my door batch
file, and they are automatically upgraded. I still have to put
in the expiration date manually, but its a start.
There are several door games that create a monthly winner chart or
modify a file if the current user has a high score. This could be
used to upgrade anybody who uses a certain door. Its simple and
straight forward, and I hope it helps.
USAGE:
To use MODUSER, USERINFO.DAT must be in the current directory.
MODUSER.EXE can be anywhere in your path. The syntax is this:
MODUSER <new security> <time left>
That's it! An example would be: MODUSER V-SYSOP 45. If your security
levels are pure numbers, then this version of MODUSER will not work. I
take any command line arguement that is a number, and put it in line 8.
Any command line arguement that is not a number is put in line 12.
Case is reproduced exactly as well as spaces and non-standard characters.
During operation, the OLD security level and the NEW security level
and the old time and new time are displayed on the screen.
This is designed to run as part of a batch file, late at night, when
all the children are in bed, so it will NEVER make any noise or ask
you to press a key. If an error occurs, the system errorlevel will
be set to 1, and the program will exit, displaying a message on the
screen. Using errorlevel detection in your batch file should be
sufficient to avoid erroneous operation.
This will also NOT put anything out the comm port, nor let the user
know that this wonderful program is running, saving you hours of
time. This program is quiet, quick (1.3 seconds per run) and
painless to use.
I should caution you to make sure that whatever new security level you put
on the command line MUST already be defined in MAKEWILD.DAT or when the
user returns to Wildcat!, really bizarre things could happen.
SUPPORT:
If this does not work for you, and you REALLY, REALLY, REALLY want
it to, then call my BBS at 408-229-0706 and leave a message for
Michael Wilson, the sysop, and I'll see what I can do. Upload as
much information as you can, including screen captures and such.
If you think that this is just the neatest program, and you can't
imagine how your board ran without this, but you can still think
of some improvements, leave me a message on my board. Need a totally
different program for Wildcat!?, leave me a message. I don't program
in pascal and that's what the libraries to modify the data indices is
written in, but C++ can do many wonderful things, so I'll let you know.
If you just want to say hi, call my board.
DONATIONS:
This program is free. Enjoy it. You can repackage it, reverse compile
it, Norton-Utilities it, even delete it. But if you alter this,
give yourself credit so people don't call me to complain about
your hacked attempt at programming.
Even though this is a rather simple program, it took time to write. If you
get use out of this, send a gift, to say thank you for the program. The
gift can be anything: $5.00, a postcard, your credit card, a small
foreign car, anything.
Posting my board number on your board as a great place to call is fine
too.
THE COMMERCIAL:
The Village
Michael Wilson, Sysop
7145 Aptos Beach Court
San Jose, CA 95139
408-229-0706
24 hours per day, 7 days per week
300/1200/2400/9600/14.4k v.42bis HST
MSI Support Net, TechNet, ShadowNet, U'NI Net
135 conferences
over 60 on-line games
Full Access on first call
FINAL WORD:
enjoy.